import java.io.File;
import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-04-16
 * Time: 10:42
 */
public class Demo3_1 {
    public static void main(String[] args) throws IOException {
        File dir=new File("./wang/qi/haha/xixi");
        dir.mkdirs();
        System.out.println(dir.exists());
        System.out.println(dir.isFile());
        System.out.println(dir.isDirectory());
        System.out.println("=====================");
        System.out.println(dir.getPath());
        System.out.println(dir.getParent());
        System.out.println(dir.getAbsolutePath());
        System.out.println(dir.getCanonicalPath());
    }
}
